package com.ml.loan.sys.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author milian
 * @since 2022-08-22
 */
@Getter
@Setter
@TableName("sys_files")
@ApiModel(value = "SysFiles对象", description = "")
public class SysFiles implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("上传批次号")
    @TableField("batch_num")
    private String batchNum;

    @ApiModelProperty("文件名")
    @TableField("file_name")
    private String fileName;

    @ApiModelProperty("文件大小")
    @TableField("file_size")
    private Integer fileSize;

    @ApiModelProperty("文件类型")
    @TableField("file_type")
    private String fileType;

    @ApiModelProperty("访问路径")
    @TableField("file_url")
    private String fileUrl;

    @ApiModelProperty("上传耗时")
    @TableField("time_used")
    private Integer timeUsed;

    @ApiModelProperty("上传时间")
    @TableField("create_time")
    private LocalDateTime createTime;


}
